package com.woniuxy.entity;

import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
 * 商品信息表
 * @author ao1
 *
 */
@Data	//自动加setter、getter、toString
@AllArgsConstructor  //全参构造器
@NoArgsConstructor  //无参构造器
@Accessors(chain=true)//开启联试表达
public class Goods {

	private int id;
	private String name;			//商品名
	private String goodsno;			//商品编号
	private String author;			//作者
	private String publisher;		//出版社
	private String pubtime;			//出版时间
	private int categoryid;			//分类id
	private String description;		//详情描述
	private String image;			//图片
	private int stock;				//库存
	private BigDecimal marketprice;	//市场价
	private BigDecimal salesprice;	//惊喜价
	private BigDecimal score;		//评分
	private int remarknums;			//评论数
	private Date uptime;			//上架时间
	private int salenums;			//销量
	private String newest;			//是否为新上架
	private String hot;				//是否为热门商品
	private String status;			//状态
}
